\name{GetAlias}
\alias{GetAlias}
\encoding{UTF-8}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Returns the alias of the Datasource.
}
\description{
数据源的别名在创建数据源或打开数据源时给定，打开同一个数据源可以使用不同的别名
}
\usage{
GetAlias(obj)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{obj}{
  数据源对象。
}
}
\details{
%%  ~~ If necessary, more details than the description above ~~
}
\value{
  获取成功返回数据源的别名，否则返回NULL。
}
\references{
%% ~put references to the literature/web site here ~
}
\author{
%%  ~~who you are~~
}
\note{
%%  ~~further notes~~
}

%% ~Make other sections like Warning with \section{Warning }{....} ~

\seealso{
%% ~~objects to See Also as \code{\link{help}}, ~~~
}
\examples{

server <- system.file("/sampledata/ChangChun.udb", package="RSuperMap")
ds <- OpenDatasource(server, alias = "test", engine = "udb")
re.alias <- GetAlias(ds)
re.alias == "test"
CloseDatasource(ds)

}
% Add one or more standard keywords, see file 'KEYWORDS' in the
% R documentation directory.
\keyword{ supermap}
